# Copyright (c) Meta Platforms, Inc. and affiliates.

add_library (dynolog_ipcmonitor_lib IPCMonitor.cpp IPCMonitor.h
  ${CMAKE_CURRENT_SOURCE_DIR}/../LibkinetoConfigManager.h
)

target_include_directories(dynolog_ipcmonitor_lib
    INTERFACE ${CMAKE_CURRENT_SOURCE_DIR}
)
target_include_directories(dynolog_ipcmonitor_lib
    PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/..
)

target_link_libraries(dynolog_ipcmonitor_lib PUBLIC glog::glog)
target_link_libraries(dynolog_ipcmonitor_lib PUBLIC dynolog_ipcfabric_lib)
target_link_libraries(dynolog_ipcmonitor_lib PUBLIC nlohmann_json::nlohmann_json)
